#ifndef USERPROFILEDAO_H_
#define USERPROFILEDAO_H_

#include "../../model/User.h"

class UserDAO {
public:
	virtual void save(User user) = 0;
	virtual void update(User user) = 0;
	virtual void remove(User user) = 0;
	virtual User loadUserById(int id) = 0;
	virtual User loadUserByDeviceCode(std::string code) = 0;
	virtual int countAll() = 0;
	virtual ~UserDAO() {
	}

protected:
	UserDAO() {
	}
};

#endif /* USERPROFILEDAO_H_ */
